import request from '@/utils/request'
export function getResourceDayAndTotalCount() {
    return request({
        url: '/home/resource/day-and-total-count',
        method: 'get',
    })
}

export function getTodoListCount() {
    return request({
        url: '/home/todo-list-count',
        method: 'get',
    })
}

export function getResources() {
    return request({
        url: '/home/resources',
        method: 'get',
    })
}

export function getDayResources(params) {
    return request({
        url: '/home/day-resources',
        method: 'get',
        params: params
    })
}

export function getStatistics() {
    return request({
        url: '/home/statistics',
        method: 'get',
    })
}